package com.smooth.dao.gen.bean;

import com.smooth.common.site.common.persistence.Page;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class BizPicExample {
    /** biz_pic */
    protected String orderByClause;

    /** biz_pic */
    protected boolean distinct;

    /** biz_pic */
    protected List<Criteria> oredCriteria;

    /** biz_pic */
    protected Page page;

    /** biz_pic */
    public BizPicExample() {
        oredCriteria = new ArrayList<>();
    }

    /** biz_pic */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /** biz_pic */
    public String getOrderByClause() {
        return orderByClause;
    }

    /** biz_pic */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /** biz_pic */
    public boolean isDistinct() {
        return distinct;
    }

    /** biz_pic */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /** biz_pic */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /** biz_pic */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /** biz_pic */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /** biz_pic */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /** biz_pic */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /** biz_pic */
    public void setPage(Page page) {
        this.page=page;
    }

    /** biz_pic */
    public Page getPage() {
        return page;
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table biz_pic
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andImgSourceUrlIsNull() {
            addCriterion("img_source_url is null");
            return (Criteria) this;
        }

        public Criteria andImgSourceUrlIsNotNull() {
            addCriterion("img_source_url is not null");
            return (Criteria) this;
        }

        public Criteria andImgSourceUrlEqualTo(String value) {
            addCriterion("img_source_url =", value, "imgSourceUrl");
            return (Criteria) this;
        }

        public Criteria andImgSourceUrlNotEqualTo(String value) {
            addCriterion("img_source_url <>", value, "imgSourceUrl");
            return (Criteria) this;
        }

        public Criteria andImgSourceUrlGreaterThan(String value) {
            addCriterion("img_source_url >", value, "imgSourceUrl");
            return (Criteria) this;
        }

        public Criteria andImgSourceUrlGreaterThanOrEqualTo(String value) {
            addCriterion("img_source_url >=", value, "imgSourceUrl");
            return (Criteria) this;
        }

        public Criteria andImgSourceUrlLessThan(String value) {
            addCriterion("img_source_url <", value, "imgSourceUrl");
            return (Criteria) this;
        }

        public Criteria andImgSourceUrlLessThanOrEqualTo(String value) {
            addCriterion("img_source_url <=", value, "imgSourceUrl");
            return (Criteria) this;
        }

        public Criteria andImgSourceUrlLike(String value) {
            addCriterion("img_source_url like", value, "imgSourceUrl");
            return (Criteria) this;
        }

        public Criteria andImgSourceUrlNotLike(String value) {
            addCriterion("img_source_url not like", value, "imgSourceUrl");
            return (Criteria) this;
        }

        public Criteria andImgSourceUrlIn(List<String> values) {
            addCriterion("img_source_url in", values, "imgSourceUrl");
            return (Criteria) this;
        }

        public Criteria andImgSourceUrlNotIn(List<String> values) {
            addCriterion("img_source_url not in", values, "imgSourceUrl");
            return (Criteria) this;
        }

        public Criteria andImgSourceUrlBetween(String value1, String value2) {
            addCriterion("img_source_url between", value1, value2, "imgSourceUrl");
            return (Criteria) this;
        }

        public Criteria andImgSourceUrlNotBetween(String value1, String value2) {
            addCriterion("img_source_url not between", value1, value2, "imgSourceUrl");
            return (Criteria) this;
        }

        public Criteria andImgResizeUrlIsNull() {
            addCriterion("img_resize_url is null");
            return (Criteria) this;
        }

        public Criteria andImgResizeUrlIsNotNull() {
            addCriterion("img_resize_url is not null");
            return (Criteria) this;
        }

        public Criteria andImgResizeUrlEqualTo(String value) {
            addCriterion("img_resize_url =", value, "imgResizeUrl");
            return (Criteria) this;
        }

        public Criteria andImgResizeUrlNotEqualTo(String value) {
            addCriterion("img_resize_url <>", value, "imgResizeUrl");
            return (Criteria) this;
        }

        public Criteria andImgResizeUrlGreaterThan(String value) {
            addCriterion("img_resize_url >", value, "imgResizeUrl");
            return (Criteria) this;
        }

        public Criteria andImgResizeUrlGreaterThanOrEqualTo(String value) {
            addCriterion("img_resize_url >=", value, "imgResizeUrl");
            return (Criteria) this;
        }

        public Criteria andImgResizeUrlLessThan(String value) {
            addCriterion("img_resize_url <", value, "imgResizeUrl");
            return (Criteria) this;
        }

        public Criteria andImgResizeUrlLessThanOrEqualTo(String value) {
            addCriterion("img_resize_url <=", value, "imgResizeUrl");
            return (Criteria) this;
        }

        public Criteria andImgResizeUrlLike(String value) {
            addCriterion("img_resize_url like", value, "imgResizeUrl");
            return (Criteria) this;
        }

        public Criteria andImgResizeUrlNotLike(String value) {
            addCriterion("img_resize_url not like", value, "imgResizeUrl");
            return (Criteria) this;
        }

        public Criteria andImgResizeUrlIn(List<String> values) {
            addCriterion("img_resize_url in", values, "imgResizeUrl");
            return (Criteria) this;
        }

        public Criteria andImgResizeUrlNotIn(List<String> values) {
            addCriterion("img_resize_url not in", values, "imgResizeUrl");
            return (Criteria) this;
        }

        public Criteria andImgResizeUrlBetween(String value1, String value2) {
            addCriterion("img_resize_url between", value1, value2, "imgResizeUrl");
            return (Criteria) this;
        }

        public Criteria andImgResizeUrlNotBetween(String value1, String value2) {
            addCriterion("img_resize_url not between", value1, value2, "imgResizeUrl");
            return (Criteria) this;
        }

        public Criteria andImgTypeIsNull() {
            addCriterion("img_type is null");
            return (Criteria) this;
        }

        public Criteria andImgTypeIsNotNull() {
            addCriterion("img_type is not null");
            return (Criteria) this;
        }

        public Criteria andImgTypeEqualTo(Integer value) {
            addCriterion("img_type =", value, "imgType");
            return (Criteria) this;
        }

        public Criteria andImgTypeNotEqualTo(Integer value) {
            addCriterion("img_type <>", value, "imgType");
            return (Criteria) this;
        }

        public Criteria andImgTypeGreaterThan(Integer value) {
            addCriterion("img_type >", value, "imgType");
            return (Criteria) this;
        }

        public Criteria andImgTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("img_type >=", value, "imgType");
            return (Criteria) this;
        }

        public Criteria andImgTypeLessThan(Integer value) {
            addCriterion("img_type <", value, "imgType");
            return (Criteria) this;
        }

        public Criteria andImgTypeLessThanOrEqualTo(Integer value) {
            addCriterion("img_type <=", value, "imgType");
            return (Criteria) this;
        }

        public Criteria andImgTypeIn(List<Integer> values) {
            addCriterion("img_type in", values, "imgType");
            return (Criteria) this;
        }

        public Criteria andImgTypeNotIn(List<Integer> values) {
            addCriterion("img_type not in", values, "imgType");
            return (Criteria) this;
        }

        public Criteria andImgTypeBetween(Integer value1, Integer value2) {
            addCriterion("img_type between", value1, value2, "imgType");
            return (Criteria) this;
        }

        public Criteria andImgTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("img_type not between", value1, value2, "imgType");
            return (Criteria) this;
        }

        public Criteria andResizeScalIsNull() {
            addCriterion("resize_scal is null");
            return (Criteria) this;
        }

        public Criteria andResizeScalIsNotNull() {
            addCriterion("resize_scal is not null");
            return (Criteria) this;
        }

        public Criteria andResizeScalEqualTo(Double value) {
            addCriterion("resize_scal =", value, "resizeScal");
            return (Criteria) this;
        }

        public Criteria andResizeScalNotEqualTo(Double value) {
            addCriterion("resize_scal <>", value, "resizeScal");
            return (Criteria) this;
        }

        public Criteria andResizeScalGreaterThan(Double value) {
            addCriterion("resize_scal >", value, "resizeScal");
            return (Criteria) this;
        }

        public Criteria andResizeScalGreaterThanOrEqualTo(Double value) {
            addCriterion("resize_scal >=", value, "resizeScal");
            return (Criteria) this;
        }

        public Criteria andResizeScalLessThan(Double value) {
            addCriterion("resize_scal <", value, "resizeScal");
            return (Criteria) this;
        }

        public Criteria andResizeScalLessThanOrEqualTo(Double value) {
            addCriterion("resize_scal <=", value, "resizeScal");
            return (Criteria) this;
        }

        public Criteria andResizeScalIn(List<Double> values) {
            addCriterion("resize_scal in", values, "resizeScal");
            return (Criteria) this;
        }

        public Criteria andResizeScalNotIn(List<Double> values) {
            addCriterion("resize_scal not in", values, "resizeScal");
            return (Criteria) this;
        }

        public Criteria andResizeScalBetween(Double value1, Double value2) {
            addCriterion("resize_scal between", value1, value2, "resizeScal");
            return (Criteria) this;
        }

        public Criteria andResizeScalNotBetween(Double value1, Double value2) {
            addCriterion("resize_scal not between", value1, value2, "resizeScal");
            return (Criteria) this;
        }

        public Criteria andHrefUrlIsNull() {
            addCriterion("href_url is null");
            return (Criteria) this;
        }

        public Criteria andHrefUrlIsNotNull() {
            addCriterion("href_url is not null");
            return (Criteria) this;
        }

        public Criteria andHrefUrlEqualTo(String value) {
            addCriterion("href_url =", value, "hrefUrl");
            return (Criteria) this;
        }

        public Criteria andHrefUrlNotEqualTo(String value) {
            addCriterion("href_url <>", value, "hrefUrl");
            return (Criteria) this;
        }

        public Criteria andHrefUrlGreaterThan(String value) {
            addCriterion("href_url >", value, "hrefUrl");
            return (Criteria) this;
        }

        public Criteria andHrefUrlGreaterThanOrEqualTo(String value) {
            addCriterion("href_url >=", value, "hrefUrl");
            return (Criteria) this;
        }

        public Criteria andHrefUrlLessThan(String value) {
            addCriterion("href_url <", value, "hrefUrl");
            return (Criteria) this;
        }

        public Criteria andHrefUrlLessThanOrEqualTo(String value) {
            addCriterion("href_url <=", value, "hrefUrl");
            return (Criteria) this;
        }

        public Criteria andHrefUrlLike(String value) {
            addCriterion("href_url like", value, "hrefUrl");
            return (Criteria) this;
        }

        public Criteria andHrefUrlNotLike(String value) {
            addCriterion("href_url not like", value, "hrefUrl");
            return (Criteria) this;
        }

        public Criteria andHrefUrlIn(List<String> values) {
            addCriterion("href_url in", values, "hrefUrl");
            return (Criteria) this;
        }

        public Criteria andHrefUrlNotIn(List<String> values) {
            addCriterion("href_url not in", values, "hrefUrl");
            return (Criteria) this;
        }

        public Criteria andHrefUrlBetween(String value1, String value2) {
            addCriterion("href_url between", value1, value2, "hrefUrl");
            return (Criteria) this;
        }

        public Criteria andHrefUrlNotBetween(String value1, String value2) {
            addCriterion("href_url not between", value1, value2, "hrefUrl");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("create_date is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("create_date is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("create_date =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("create_date <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("create_date >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("create_date >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("create_date <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("create_date <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("create_date in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("create_date not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("create_date between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("create_date not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNull() {
            addCriterion("update_date is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNotNull() {
            addCriterion("update_date is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateEqualTo(Date value) {
            addCriterion("update_date =", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotEqualTo(Date value) {
            addCriterion("update_date <>", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThan(Date value) {
            addCriterion("update_date >", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("update_date >=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThan(Date value) {
            addCriterion("update_date <", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThanOrEqualTo(Date value) {
            addCriterion("update_date <=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIn(List<Date> values) {
            addCriterion("update_date in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotIn(List<Date> values) {
            addCriterion("update_date not in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateBetween(Date value1, Date value2) {
            addCriterion("update_date between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotBetween(Date value1, Date value2) {
            addCriterion("update_date not between", value1, value2, "updateDate");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table biz_pic
     */
    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table biz_pic
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}